package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
public class UserController {

    @RequestMapping("/")
//    @ResponseBody
    public String index() {
        System.err.println("进入首页....");
        return "index";
    }
}
